

export const cashStateDict = [
  {code: 'COMMIT', codeName: '待审核'},
  {code: 'SUCESS', codeName: '成功'},
  {code: 'FAIL', codeName: '失败'},
];


export function cashStateGetName(code){
  for (let i = 0; i < cashStateDict.length; i++) {
    if (cashStateDict[i].code === code)
      return cashStateDict[i].codeName;
  }

  return "未知";
}
